#!/bin/sh 
uuid=`uuidgen`
str='Request-Id:'
reqID=$str$uuid
echo "reqID=" ${reqID}
#h2
#curl 127.0.0.1:8802/TTSH2Service/onHttpRequest --http2  -v -H 'Service-Type:synthesis' -H 'Application-Id:123' -H 'user-id:456' -H ${reqID} -H 'Sequence-Id:1' -H 'Protocol:v2.0' -H 'Net-State:2' -H 'Applicator:0' -H 'Property:{"platform" : "Linux","version" : "0.0.0.1","parameters": {"tte": 1,"tim":0,"vol":2.0,"sp":1.0,"sr":24000,"aue":1}}' -X POST  -d "我爱中国"

#h1
curl 127.0.0.1:8801/TTSH2Service/onHttpRequest   -v -H 'Service-Type:synthesis' -H 'Application-Id:123' -H 'user-id:456' -H ${reqID} -H 'Sequence-Id:1' -H 'Protocol:v2.0' -H 'Net-State:2' -H 'Applicator:0' -H 'Property:{"platform" : "Linux","version" : "0.0.0.1","parameters": {"tte": 1,"tim":0,"vol":2.0,"sp":1.0,"sr":24000,"aue":1}}' -X POST  -d "我爱中国"

